import request from "../common/request"

// 封装和车队有关的接口

//获取车队列表
export function getTeamList(parmas){
	return request({
		url: '/team',
		method: 'get',
		parmas: parmas
	})
}

//创建车队 
export function createTeam(parmas){
	return request({
		url: '/team/create',
		method: 'get',
		parmas: parmas
	})
}

// 获取车队详情
export function getTeamInfo(id){
	return request({
		url: '/team/'+id,
		method: 'get',
	})
}